Skip to content

Conversation

@tueda
Copy link
Collaborator

@tueda tueda commented Nov 1, 2025

This patch adds a multi-loop extension of the #continuedo preprocessor instruction (#443). It uses the fact that #continuedo n is equivalent to #breakdo (n-1) followed by a #continue for the remaining outermost loop.

Tests and documentation are also added.

@coveralls
Copy link

Coverage Status

coverage: 57.085% (+0.03%) from 57.055%
when pulling 91d1b2e on tueda:pr/feat/continuedo_number
into 42d314c on form-dev:master.

@tueda tueda merged commit a405343 into form-dev:master Nov 4, 2025
140 of 141 checks passed
@tueda tueda deleted the pr/feat/continuedo_number branch November 4, 2025 10:05
@jodavies
Copy link
Collaborator

This commit seems to have a few-percent performance regression in the trace benchmark, but this doesn't make any sense. The new code is not called by the benchmark. I don't see any difference in form. Can anyone reproduce this?

Running trace
Benchmark 1: tform-test-ff45f97d -w24
  Time (mean ± σ):      1.068 s ±  0.014 s    [User: 24.240 s, System: 0.227 s]
  Range (min … max):    1.044 s …  1.102 s    30 runs

Benchmark 2: tform-test-a4053435 -w24
  Time (mean ± σ):      1.124 s ±  0.017 s    [User: 25.548 s, System: 0.219 s]
  Range (min … max):    1.096 s …  1.166 s    30 runs

Summary
  tform-test-ff45f97d -w24 ran
    1.05 ± 0.02 times faster than tform-test-a4053435 -w24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants